package com.sykj.cloud.activity.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sykj.cloud.common.core.annotation.Excel;
import com.sykj.cloud.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 活动信息对象 activity_info
 *
 * @author mr.will
 * @date 2021-04-01
 */
public class ActivityInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动ID */
    private String guid;

    /** 应用ID */
    @Excel(name = "应用ID")
    private String applicationId;

    /** 组织机构ID */
    @Excel(name = "组织机构ID")
    private String organizationId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private String deptId;

    /** 行政代号 */
    @Excel(name = "行政代号")
    private String areaCode;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String name;

    /** 简称 */
    @Excel(name = "简称")
    private String shortName;

    /** 活动分类 */
    @Excel(name = "活动分类")
    private String categoryId;

    /** 活动类型 */
    @Excel(name = "活动类型")
    private Integer activityType;

    /** 年龄限制 */
    @Excel(name = "年龄限制")
    private String ageLimit;

    /** 列表图 */
    @Excel(name = "列表图")
    private String listImage;

    /** 详情图 */
    @Excel(name = "详情图")
    private String faceImage;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private String activityStatus;

    /** 活动简介 */
    @Excel(name = "活动简介")
    private String digest;

    /** 活动详情 */
    @Excel(name = "活动详情")
    private String detailsBody;

    /** 排序号 */
    @Excel(name = "排序号")
    private Long orderSeq;

    /** 点击量 */
    @Excel(name = "点击量")
    private Long hitsNum;

    /** 置顶状态 */
    @Excel(name = "置顶状态")
    private Integer top;

    /** 最近场次ID */
    @Excel(name = "最近场次ID")
    private String recentSessionId;

    /** 最近场次的开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recentStartTime;

    /** 活动的外链 */
    @Excel(name = "活动的外链")
    private String outUrl;

    /** 主办单位 */
    @Excel(name = "主办单位")
    private String hostUnits;

    /** 承办单位 */
    @Excel(name = "承办单位")
    private String execUnits;

    /** 是否可以评论 */
    @Excel(name = "是否可以评论")
    private Integer comment;

    /** 收费类型 */
    @Excel(name = "收费类型")
    private String chargeType;

    /** 费用价格 */
    @Excel(name = "费用价格")
    private BigDecimal price;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String tel;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 地址经纬度 */
    @Excel(name = "地址经纬度")
    private String addressLocation;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Integer approvedStatus;

    /** 审批人 */
    @Excel(name = "审批人")
    private String approvedUserId;

    /** 审批意见 */
    @Excel(name = "审批意见")
    private String approvedExplain;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date approvedTime;

    /** 是否要审批 */
    @Excel(name = "是否要审批")
    private Integer needApprove;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private Integer valid;

    /** 是否已删除 */
    @Excel(name = "是否已删除")
    private Integer deleted;

    /** 删除人 */
    @Excel(name = "删除人")
    private String deleteBy;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date deleteTime;

    public void setGuid(String guid)
    {
        this.guid = guid;
    }

    public String getGuid()
    {
        return guid;
    }
    public void setApplicationId(String applicationId)
    {
        this.applicationId = applicationId;
    }

    public String getApplicationId()
    {
        return applicationId;
    }
    public void setOrganizationId(String organizationId)
    {
        this.organizationId = organizationId;
    }

    public String getOrganizationId()
    {
        return organizationId;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }
    public void setAreaCode(String areaCode)
    {
        this.areaCode = areaCode;
    }

    public String getAreaCode()
    {
        return areaCode;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setShortName(String shortName)
    {
        this.shortName = shortName;
    }

    public String getShortName()
    {
        return shortName;
    }
    public void setCategoryId(String categoryId)
    {
        this.categoryId = categoryId;
    }

    public String getCategoryId()
    {
        return categoryId;
    }
    public void setActivityType(Integer activityType)
    {
        this.activityType = activityType;
    }

    public Integer getActivityType()
    {
        return activityType;
    }
    public void setAgeLimit(String ageLimit)
    {
        this.ageLimit = ageLimit;
    }

    public String getAgeLimit()
    {
        return ageLimit;
    }
    public void setListImage(String listImage)
    {
        this.listImage = listImage;
    }

    public String getListImage()
    {
        return listImage;
    }
    public void setFaceImage(String faceImage)
    {
        this.faceImage = faceImage;
    }

    public String getFaceImage()
    {
        return faceImage;
    }
    public void setActivityStatus(String activityStatus)
    {
        this.activityStatus = activityStatus;
    }

    public String getActivityStatus()
    {
        return activityStatus;
    }
    public void setDigest(String digest)
    {
        this.digest = digest;
    }

    public String getDigest()
    {
        return digest;
    }
    public void setDetailsBody(String detailsBody)
    {
        this.detailsBody = detailsBody;
    }

    public String getDetailsBody()
    {
        return detailsBody;
    }
    public void setOrderSeq(Long orderSeq)
    {
        this.orderSeq = orderSeq;
    }

    public Long getOrderSeq()
    {
        return orderSeq;
    }
    public void setHitsNum(Long hitsNum)
    {
        this.hitsNum = hitsNum;
    }

    public Long getHitsNum()
    {
        return hitsNum;
    }
    public void setTop(Integer top)
    {
        this.top = top;
    }

    public Integer getTop()
    {
        return top;
    }
    public void setRecentSessionId(String recentSessionId)
    {
        this.recentSessionId = recentSessionId;
    }

    public String getRecentSessionId()
    {
        return recentSessionId;
    }
    public void setRecentStartTime(Date recentStartTime)
    {
        this.recentStartTime = recentStartTime;
    }

    public Date getRecentStartTime()
    {
        return recentStartTime;
    }
    public void setOutUrl(String outUrl)
    {
        this.outUrl = outUrl;
    }

    public String getOutUrl()
    {
        return outUrl;
    }
    public void setHostUnits(String hostUnits)
    {
        this.hostUnits = hostUnits;
    }

    public String getHostUnits()
    {
        return hostUnits;
    }
    public void setExecUnits(String execUnits)
    {
        this.execUnits = execUnits;
    }

    public String getExecUnits()
    {
        return execUnits;
    }
    public void setComment(Integer comment)
    {
        this.comment = comment;
    }

    public Integer getComment()
    {
        return comment;
    }
    public void setChargeType(String chargeType)
    {
        this.chargeType = chargeType;
    }

    public String getChargeType()
    {
        return chargeType;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setTel(String tel)
    {
        this.tel = tel;
    }

    public String getTel()
    {
        return tel;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setAddressLocation(String addressLocation)
    {
        this.addressLocation = addressLocation;
    }

    public String getAddressLocation()
    {
        return addressLocation;
    }
    public void setApprovedStatus(Integer approvedStatus)
    {
        this.approvedStatus = approvedStatus;
    }

    public Integer getApprovedStatus()
    {
        return approvedStatus;
    }
    public void setApprovedUserId(String approvedUserId)
    {
        this.approvedUserId = approvedUserId;
    }

    public String getApprovedUserId()
    {
        return approvedUserId;
    }
    public void setApprovedExplain(String approvedExplain)
    {
        this.approvedExplain = approvedExplain;
    }

    public String getApprovedExplain()
    {
        return approvedExplain;
    }
    public void setApprovedTime(Date approvedTime)
    {
        this.approvedTime = approvedTime;
    }

    public Date getApprovedTime()
    {
        return approvedTime;
    }
    public void setNeedApprove(Integer needApprove)
    {
        this.needApprove = needApprove;
    }

    public Integer getNeedApprove()
    {
        return needApprove;
    }
    public void setValid(Integer valid)
    {
        this.valid = valid;
    }

    public Integer getValid()
    {
        return valid;
    }
    public void setDeleted(Integer deleted)
    {
        this.deleted = deleted;
    }

    public Integer getDeleted()
    {
        return deleted;
    }
    public void setDeleteBy(String deleteBy)
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy()
    {
        return deleteBy;
    }
    public void setDeleteTime(Date deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime()
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("guid", getGuid())
            .append("applicationId", getApplicationId())
            .append("organizationId", getOrganizationId())
            .append("deptId", getDeptId())
            .append("areaCode", getAreaCode())
            .append("name", getName())
            .append("shortName", getShortName())
            .append("categoryId", getCategoryId())
            .append("activityType", getActivityType())
            .append("ageLimit", getAgeLimit())
            .append("listImage", getListImage())
            .append("faceImage", getFaceImage())
            .append("activityStatus", getActivityStatus())
            .append("digest", getDigest())
            .append("detailsBody", getDetailsBody())
            .append("orderSeq", getOrderSeq())
            .append("hitsNum", getHitsNum())
            .append("top", getTop())
            .append("recentSessionId", getRecentSessionId())
            .append("recentStartTime", getRecentStartTime())
            .append("outUrl", getOutUrl())
            .append("hostUnits", getHostUnits())
            .append("execUnits", getExecUnits())
            .append("comment", getComment())
            .append("chargeType", getChargeType())
            .append("price", getPrice())
            .append("tel", getTel())
            .append("address", getAddress())
            .append("addressLocation", getAddressLocation())
            .append("approvedStatus", getApprovedStatus())
            .append("approvedUserId", getApprovedUserId())
            .append("approvedExplain", getApprovedExplain())
            .append("approvedTime", getApprovedTime())
            .append("needApprove", getNeedApprove())
            .append("valid", getValid())
            .append("deleted", getDeleted())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deleteBy", getDeleteBy())
            .append("deleteTime", getDeleteTime())
            .append("remark", getRemark())
            .toString();
    }
}
